using System;
using System.IO;
using System.Text;

using Multiplicity.Runtime.Serialization.Binary;

namespace Multiplicity.Reflection {

    [BinaryRecord]
    sealed class CorHeader {

        public uint Size = 0;

        [VersionField(2, TypeCode.UInt16)]
        public Version RuntimeVersion;
        public PEDataDirectory Metadata;
        public uint Flags;
        public uint EntryPointToken;
        public PEDataDirectory Resources;
        public PEDataDirectory StrongNameSignature;
        public PEDataDirectory CodeManagerTable;
        public PEDataDirectory VTableFixups;
        public PEDataDirectory ExportAddressTableJumps;
        public PEDataDirectory ManagedNativeHeader;

    }
}
